package entity

import (
	"shqsoft.cn/pasnj/base"
)

//COMP_DFGZ 用户
type COMP_DFGZ struct {
	ID     int    `gorm:"AUTO_INCREMENT;primary_key;column:ID"`
	CUID   int    `gorm:"column:CUID;"`
	DWBH   string `gorm:"column:DWBH;"`
	CUNM   string `gorm:"column:KHMC"`
	DGKHH  string `gorm:"column:DGKHH"`
	ISDIVI int    `gorm:"column:ISDIVI;"`
}

//TableName User用户表名
func (COMP_DFGZ) TableName() string {
	return "V_COMP_DFGZ"
}

// COMP_DFGZEF G
func COMP_DFGZEF() base.EntityFunc {
	return func() interface{} {
		entity := COMP_DFGZ{}
		return &entity
	}
}

//COMP_DFGZESF GJ
func COMP_DFGZESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []COMP_DFGZ
		return &entities
	}
}
func init() {
	base.DaoPoolObj.Put("COMP_DFGZ", base.NewDefaultDao(COMP_DFGZEF(), COMP_DFGZESF(), nil))
}
